package com.qqt.csr.im.entity.msg;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.qqt.csr.im.enums.ImageFormatEnum;
import com.qqt.csr.im.entity.msg.item.ImageInfo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * @Author: yang hao
 * @Date: 2024/10/16 17:13
 * @Description: 图像消息
 **/
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@JsonIgnoreProperties(ignoreUnknown = true)
@Accessors(chain = true)
@Schema(description = "图像消息")
public class ImageContent extends Content {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "图片类型")
    private ImageFormatEnum imageFormat;

    @Schema(description = "原图、缩略图或者大图下载信息")
    private List<ImageInfo> imageInfoArray;

}
